﻿using System.Collections.Generic;

namespace Resn.WhuPub.BIL
{
        /// <summary>
        ///定义用户分组管理器的属性和方法
        /// </summary>
        public interface IEmployeeManager
        {
                #region 属性

                /// <summary>
                ///获取分组下属的员工
                /// </summary>
                /// <value>
                ///分组下属的员工
                /// </value>
                List<IEmployee> Employees { get; }

                #endregion

                #region 方法

                /// <summary>
                /// 添加员工到本员工分组
                /// </summary>
                /// <param name="name">账号</param>
                /// <param name="password">密码</param>
                /// <param name="employeeLevel">层次</param>
                /// <returns></returns>
                IEmployee CreateEmployee(string name, string password, EmployeeLevel employeeLevel);

                #endregion 方法
        }
}